<?php
/**
 * Created by PhpStorm.
 * User: extraxue
 * Date: 2018/5/1
 * Time: 下午1:06
 */
?>


<?php
error_reporting(E_ALL^E_NOTICE);?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
    <title>党支部新增</title>
</head>



<?php
session_start();
header('Content-type:text/html;charset=utf8');
require_once ('pdo.php');


$sqlGetDeptInfo="select * from dept_info";
$rsGetDeptInfo=$pdo->query($sqlGetDeptInfo);
$resultGetDeptInfo=$rsGetDeptInfo->fetchAll(PDO::FETCH_ASSOC);

$sqlGetFeeInfo="select * from user_fee_info";
$rsGetFeeInfo=$pdo->query($sqlGetFeeInfo);
$resultGetFeeInfo=$rsGetFeeInfo->fetchAll(PDO::FETCH_ASSOC);
?>

<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>新增党支部</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="deptAddCheck.php">

            <div class="form-group">
                <div class="label">
                    <label>新增党支部ID：</label>
                </div>
                <div class="field">
                    <input type="text" class="input" name="deptId" size="50" placeholder="请参照命名规范定义"  style="width:200px"/>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>新增党支部名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input" name="deptName" size="50" placeholder="请参照命名规范定义"  style="width:200px"/>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>党支部书记：</label>
                </div>
                <div class="field">
                    <input type="text" class="input" name="deptLeaderName" size="50" style="width:200px"/>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>党支部联系电话：</label>
                </div>
                <div class="field">
                    <input type="text" class="input" name="deptPhone" size="50" placeholder=""  style="width:200px"/>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>备注：</label>
                </div>
                <div class="field">
                    <input type="text" class="input" name="remark" size="50" placeholder="如无备注，则此项可不填"  style="width:200px"/>
                    <button style="margin-top: 20px;" class="button bg-main icon-check-square-o" type="submit">提交</button>
                </div>
            </div>
        </form>
    </div>

</body>
</html>
